package hbxz.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author yhb
 * @date 2021/6/8
 */
@Slf4j
@Component
public class CreditServiceFallback implements CreditService{
    @Override
    public String creditAdd() {
        log.error("调用积分服务失败，服务降级，日志记录后续补偿");
        return "error";
    }
}
